package com.szu.subject.ui.service;

import java.util.List;

import com.szu.subject.domains.Address;

/**
 * 
 * @author Shenxiaolin
 *
 */

public interface AddressService {

	public List<Address> getAllAddress();

	public Address createAddress(Address address);

	public Address updateAddress(Address address);

	public int deleteAddress(Long id);

	public List<Address> batchCreateAddresses(List<Address> addresss);

	public List<Address> batchUpdateAddresses(List<Address> addresss);

	public int batchDeleteAddresses(List<Long> ids);

	public Address getAddressByPK(Long id);
}
